local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1
L0_1 = {}
L0_1.group_id = 220005004
L1_1 = {}
L2_1 = {}
L2_1.config_id = 4002
L2_1.monster_id = 20010801
L3_1 = {}
L3_1.x = -168.162
L3_1.y = 22.035
L3_1.z = 46.306
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 107.567
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L2_1.pose_id = 901
L3_1 = {}
L3_1.config_id = 4003
L3_1.monster_id = 20010801
L4_1 = {}
L4_1.x = -170.306
L4_1.y = 22.035
L4_1.z = 39.32
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 42.246
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.pose_id = 901
L4_1 = {}
L4_1.config_id = 4004
L4_1.monster_id = 20010801
L5_1 = {}
L5_1.x = -169.633
L5_1.y = 22.035
L5_1.z = 36.08
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 1.598
L5_1.y = 107.497
L5_1.z = 354.944
L4_1.rot = L5_1
L4_1.level = 1
L4_1.pose_id = 901
L5_1 = {}
L5_1.config_id = 4005
L5_1.monster_id = 20010801
L6_1 = {}
L6_1.x = -167.131
L6_1.y = 22.071
L6_1.z = 36.973
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 1.598
L6_1.y = 107.497
L6_1.z = 354.944
L5_1.rot = L6_1
L5_1.level = 1
L5_1.pose_id = 901
L6_1 = {}
L6_1.config_id = 4006
L6_1.monster_id = 20010801
L7_1 = {}
L7_1.x = -169.659
L7_1.y = 22.121
L7_1.z = 49.33
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 1.598
L7_1.y = 33.24
L7_1.z = 354.944
L6_1.rot = L7_1
L6_1.level = 1
L6_1.pose_id = 901
L7_1 = {}
L7_1.config_id = 4007
L7_1.monster_id = 20010801
L8_1 = {}
L8_1.x = -167.191
L8_1.y = 22.985
L8_1.z = 49.594
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 1.598
L8_1.y = 130.759
L8_1.z = 354.944
L7_1.rot = L8_1
L7_1.level = 1
L7_1.pose_id = 901
L8_1 = {}
L8_1.config_id = 4019
L8_1.monster_id = 20010801
L9_1 = {}
L9_1.x = -176.417
L9_1.y = 23.437
L9_1.z = 51.89
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 122.415
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 4020
L9_1.monster_id = 20010801
L10_1 = {}
L10_1.x = -177.858
L10_1.y = 22.893
L10_1.z = 51.247
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 122.415
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 4021
L10_1.monster_id = 20010801
L11_1 = {}
L11_1.x = -178.916
L11_1.y = 24.041
L11_1.z = 49.558
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 122.415
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L11_1 = {}
L11_1.config_id = 4022
L11_1.monster_id = 20010801
L12_1 = {}
L12_1.x = -179.443
L12_1.y = 23.854
L12_1.z = 35.451
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 0.0
L12_1.y = 33.097
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 1
L12_1 = {}
L12_1.config_id = 4023
L12_1.monster_id = 20010801
L13_1 = {}
L13_1.x = -178.445
L13_1.y = 23.941
L13_1.z = 33.655
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 0.0
L13_1.y = 38.474
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 1
L13_1 = {}
L13_1.config_id = 4024
L13_1.monster_id = 20010801
L14_1 = {}
L14_1.x = -178.443
L14_1.y = 22.747
L14_1.z = 35.064
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 167.471
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 4001
L2_1.gadget_id = 70350005
L3_1 = {}
L3_1.x = -183.966
L3_1.y = 21.556
L3_1.z = 42.99
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 270.0
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = {}
L3_1.config_id = 4008
L3_1.gadget_id = 70290008
L4_1 = {}
L4_1.x = -166.894
L4_1.y = 21.573
L4_1.z = 48.216
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 286.256
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L3_1.isOneoff = true
L4_1 = {}
L4_1.config_id = 4009
L4_1.gadget_id = 70500000
L5_1 = {}
L5_1.x = -166.894
L5_1.y = 21.573
L5_1.z = 48.216
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 286.304
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L4_1.point_type = 3008
L4_1.isOneoff = true
L4_1.owner = 4008
L5_1 = {}
L5_1.config_id = 4012
L5_1.gadget_id = 70290008
L6_1 = {}
L6_1.x = -167.383
L6_1.y = 21.695
L6_1.z = 39.253
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 84.298
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L5_1.isOneoff = true
L6_1 = {}
L6_1.config_id = 4013
L6_1.gadget_id = 70500000
L7_1 = {}
L7_1.x = -167.383
L7_1.y = 21.695
L7_1.z = 39.253
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 84.253
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L6_1.point_type = 3008
L6_1.isOneoff = true
L6_1.owner = 4012
L7_1 = {}
L7_1.config_id = 4014
L7_1.gadget_id = 70900201
L8_1 = {}
L8_1.x = -190.518
L8_1.y = 27.837
L8_1.z = 141.248
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1004010
L2_1.name = "ANY_MONSTER_DIE_4010"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_4010"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_4010"
L3_1 = {}
L3_1.config_id = 1004011
L3_1.name = "ANY_MONSTER_DIE_4011"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_4011"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_4011"
L1_1[1] = L2_1
L1_1[2] = L3_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "is_4009"
L2_1.value = 0
L2_1.no_refresh = true
L3_1 = {}
L3_1.configId = 2
L3_1.name = "is_4013"
L3_1.value = 0
L3_1.no_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 4002
L5_1 = 4003
L6_1 = 4004
L7_1 = 4005
L8_1 = 4006
L9_1 = 4007
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 4001
L5_1 = 4008
L6_1 = 4009
L7_1 = 4012
L8_1 = 4013
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_4010"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 4019
L6_1 = 4020
L7_1 = 4021
L8_1 = 4022
L9_1 = 4023
L10_1 = 4024
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L4_1[4] = L8_1
L4_1[5] = L9_1
L4_1[6] = L10_1
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_4011"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_4010 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.AddExtraGroupSuite
  L3_2 = A0_2
  L4_2 = 220005004
  L5_2 = 2
  L2_2(L3_2, L4_2, L5_2)
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_4010 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_4011 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2, L6_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 4001
  L5_2 = GadgetState
  L5_2 = L5_2.GearStart
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.RefreshGroup
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 220005005
  L4_2.suite = 2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : refresh_group_to_suite"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.ShowReminder
  L3_2 = A0_2
  L4_2 = 200050201
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : active_reminder_ui"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.KillGroupEntity
  L3_2 = A0_2
  L4_2 = {}
  L4_2.group_id = 220005003
  L5_2 = {}
  L4_2.monsters = L5_2
  L5_2 = {}
  L6_2 = 3011
  L5_2[1] = L6_2
  L4_2.gadgets = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_monsters_and_gadgets_by_group"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.CreateGadget
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 4014
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : create_gadget"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_4011 = L1_1
